<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

class Language extends Controller {
	
	function Language()
	{
		parent::Controller();
		$this->load->helper('url');
	}

	function change()
	{
		$this->langs->change_lang($this->uri->segment(3));

		$url = $this->session->flashdata('uri');
		redirect($url, 'refresh');
	}

}
/* End of file language.php */
/* Location: ./application/controllers/language.php */
